//
// Created by Administrator on 2025/4/17/周四.
//
#include "iostream"

using namespace std;

class Cube {
public:
    int high;
    int width;
    int length;

    //构造函数
    Cube() {
        high = 10;
        width = 20;
        length = 30;
    }

    //计算面积
    int calculateArea() {
        return high * width * length;
    }
};


int main() {
    Cube *cube = new Cube();

    cout << cube->calculateArea() << endl;
}